import { Navigate } from 'react-router-dom'
import { Children, lazy } from 'react'
let Index = lazy(() => import("../../views/yao/index"))
let Navpage = lazy(() => import('../../views/zhu/navpage'))

let Cate= lazy(() => import("../../views/yao/Cate"))
let Kang= lazy(() => import("../../views/yao/kang"))
let Water= lazy(() => import("../../views/yao/water"))
let Men= lazy(() => import("../../views/yao/men"))
let Ti= lazy(() => import("../../views/yao/Ti"))
let Yi= lazy(() => import("../../views/yao/money"))
let After= lazy(() => import("../../views/yao/After"))
let Yao=[
    {
        path: '/zhu/navpage',
        element: <Navpage></Navpage>,
        children: [
            {
                path: 'ljyindex',
                element: <Index></Index>,

            },
            {
                path: 'ljycate',
                element: <Cate></Cate>,

            },
            {
                path: 'ljykang',
                element: <Kang></Kang>,

            },
            {
                path: 'ljywater',
                element: <Water></Water>,

            },
            {
                path: 'ljymen',
                element: <Men></Men>,

            },
            {
                path: 'ljyti',
                element: <Ti></Ti>,

            },
            {
                path: 'ljyyi',
                element: <Yi></Yi>,

            },
            {
                path: 'ljyafter',
                element: <After></After>,

            },
        ]
    },

   
]

export default Yao